import {BaseConfig, FieldConfig} from "@/fields/config";

export class AddressConfig extends BaseConfig {
  title = "地址";
}

const fieldType = "address";

export const addressDefine = {
  name:"地址",
  icon:"el-icon-office-building",
  type: fieldType,
  create: () => {
    const addressConfig = new AddressConfig();
    return new FieldConfig(fieldType, addressConfig);
  },
  design: () => import(/* webpackChunkName: "form.comp.all" */ "@/views/fields/designer/address/index"),
  config: () => import(/* webpackChunkName: "form.comp.all" */ "@/views/fields/config/address/index")
}

